package com.zhuiyun.project.api.plan.fitnessPurpose.service;

import com.zhuiyun.project.api.plan.fitnessPurpose.entity.FitnessPurpose;
import com.zhuiyun.project.common.errorCode.CommonException;
import com.zhuiyun.project.common.response.CommonResult;
import com.zhuiyun.project.utils.pageUtil.PageRequest;
import com.zhuiyun.project.utils.pageUtil.PageResult;

import java.util.List;

/**
* @Author 杨珅
* @Description todo 目的业务层
* @Date 2023/11/2 9:02
* @Return  * @param null
*/
public interface FitnessPurposeService {
    /**
     * @Author 杨珅
     * @Description todo 健身目的查询
     * @Date 2023/11/2 9:28
     * @Return  * @param null
     */
    PageResult selectAll(PageRequest pageRequest, String fitnessPurposeName,String venueUniqueIdentifier);
    
    /**
    * @Author 摸鱼飞弹
    * @Description TODO 健身目的查询
    * @Date 2024/3/4 15:00
    * @Return 
    * @param null
    */
    CommonResult selectAll(String fitnessPurposeName,String venueUniqueIdentifier);

    /**
     * @Author 杨珅
     * @Description todo 健身目的查询
     * @Date 2023/11/2 9:28
     * @Return  * @param null
     */
    CommonResult queryAll (String venueUniqueIdentifier);
    /**
     * @Author 杨珅
     * @Description todo 健身目的新增
     * @Date 2023/11/2 9:28
     * @Return  * @param null
     */
    CommonResult insertFitnessPurpose(FitnessPurpose fitnessPurpose)throws CommonException;
    /**
     * @Author 杨珅
     * @Description todo 健身目的新增
     * @Date 2023/11/2 9:28
     * @Return  * @param null
     */
    CommonResult updateFitnessPurpose(FitnessPurpose fitnessPurpose)throws  CommonException;
    /**
     * @Author 杨珅
     * @Description todo 健身目的删除
     * @Date 2023/11/2 9:28
     * @Return  * @param null
     */
    CommonResult deleteFitnessPurpose(FitnessPurpose fitnessPurpose);
}
